/** tree 模块添加checkChild属性,checkChild:false  选中父树,子树不自动选中, */
window.rootPath = (function (src) {
	src = document.currentScript
		? document.currentScript.src
		: document.scripts[document.scripts.length - 1].src;
	return src.substring(0, src.lastIndexOf("/") + 1);
})();

layui.config({
	base: rootPath + "module/",
	version: "4.0.0"
}).extend({
	content: "content",
	admin: "admin", 	       
	page: "page",			   
	tabPage: "tabPage",			
	menu: "menu",		    
	fullscreen:"fullscreen",    
	messageCenter: "messageCenter",
	menuSearch: "menuSearch",
	button: "button",	
	popup:"extends/popup",     
	count:"extends/count",      
	toast:"extends/toast",
	nprogress: "extends/nprogress",           
	echarts: "extends/echarts",          
	echartsTheme: "extends/echartsTheme",
	yaml:"extends/yaml",
	xmSelect:"extends/xm-select",
	layCascader:"extends/cascader/cascader.js?css=true",
	permission: "extends/permission",
	request: "extends/request",
}).use(['request','content','button','xmSelect','layCascader'],function () {
});